package com.hqyj.service;

import com.hqyj.exception.R;
import com.hqyj.pojo.OrderInfo;
import com.baomidou.mybatisplus.extension.service.IService;
import com.hqyj.pojo.OrderInfoParameter;

import javax.servlet.http.HttpServletRequest;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author rock
 * @since 2023-01-28 09:21:30
 */
public interface OrderInfoService extends IService<OrderInfo> {

    //生成订单
    R createOrder(OrderInfoParameter orderInfoParameter, HttpServletRequest request);
    //查询我的订单
    R queryOrder( HttpServletRequest request);

    //更改订单支付状态
    R updatePayStatus(String num);
}
